
#include "main.h"
 
near bit AUX_PORT_COMMAND = 0;
near bit DISPLAY_ON = 0; 

/* void Ext_Display_Update( void ) */
/* { */
/* 	unsigned char Buffer[90]; */
	
/* 	if ( DISPLAY_ON ) */
/* 	{ */
/* 		//lcd_read_display(Buffer, 4); */
/* 		puts(Buffer, AUX_PORT ); */
/* 	} */
/* } */

void AuxPortMonitor( void )
{
	static unsigned char AuxPortWasEvent = 0;  

	if ( AuxPortEvents == AUX_PORT_RECEIVE_COMPLETE || AuxPortWasEvent )
	{
		if ( Execute_Module_1 == NULL )
		{
			AUX_PORT_COMMAND = TRUE;
			Execute_Module_1 = Command_Processor;
			AuxPortWasEvent = FALSE;
		}
		else
		{
			AuxPortWasEvent = TRUE;
		}
	}
}
 
